package com.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.entity.CommonAttachment;
@Mapper
public interface CommonAttachmentMapper {

    int deleteByPrimaryKey(String id);

    int insertSelective(CommonAttachment record);

   List<CommonAttachment>  selectByTableNameAndBusinessId(CommonAttachment commonAttachment);

    int updateByPrimaryKeySelective(CommonAttachment record);

    /**
     *@name    中文名称
     *@description 相关说明
     *@time    创建时间:2020年3月28日下午5:43:29
     *@param ids
     *@return
     *@author   张孜
     *@history 修订历史（历次修订内容、修订人、修订时间等）
     */
    int delAttachments(Map<String, Object> ids);

}